package com.example;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.config.server.EnableConfigServer;

//@SpringBootApplication 相当于@Configuration、 @EnableAutoConfiguration和 @ComponentScan
//@Configuration
//@EnableAutoConfiguration
//@EnableDiscoveryClient
@EnableConfigServer
@SpringBootApplication
public class ConfigureApplication {

	public static void main(String[] args) {
		SpringApplication.run(ConfigureApplication.class, args);
	}
}
